package framework.spatial;

import java.awt.Graphics;
import java.awt.Point;

/**
 *
 * @author Lukáš Marek
 */
public interface FRDSpatialMapBackground
{
	/**
	 * Vykresleni pozadi do grafiky g
	 * @param g 
	 */
	public void paint(Graphics g);

	public void setWidth(int width);

	public void setHeight(int height);
	
	public void setDefaultZoom(double zoom);
	
	public void setMaxZoom(double maxZoom);
	
	public void setMinZoom(double minZoom);
	
	public void setZoomStep(double step);

	public void setPosition(Point p);

	public Point getPosition();

	/**
	 * oddaleni pohledu
	 */
	public void zoomOut();

	/**
	 * priblizeni pohledu
	 */
	public void zoomIn();
	
	public double getZoom();
	
	/**
	 * Vrati meritko(tzn. pomer mezi velikosti mapy a velikosti panelu)
	 * @return 
	 */
	public double getScale();
}
